<?php
/**
 * Created by PhpStorm.
 * User: 12297
 * Date: 2018/5/17
 * Time: 1:15
 */
namespace app\common\model;

use think\Model;

class Groupdetail extends Model{
    protected $autoWriteTimestamp = true;
    public function groupproduct(){
        return $this->hasMany('Groupproduct','id','groupId');
    }
}